home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Cream of the Crop 25
/
Cream of the Crop 25.iso
/
program
/
fpk65_66.zip
/
SOURCE
/
RTL
/
DOS
/
VESADEB.PPI
< prev
Wrap
Text File
|
1996-12-10
|
3KB
|
45 lines
{ VESADEB.INC - contains Debuginformations for the VESA.PPU }
writeln('VESA-Signature : ',
VGAInfo.VESASignature[1],VGAInfo.VESASignature[2],VGAInfo.VESASignature[3],
VGAInfo.VESASignature[4],VGAInfo.VESAhiVersion,'.',VGAInfo.VESAloVersion);
writeln('Memory installed : ',VGAInfo.Totalmem * 64,'K');
writeln;
write('Mode $',HexStr(GraphMode,4),' : ');
if (VESAInfo.ModeAttributes and 1)=0 then write('not '); writeln('supported');
writeln('Resolution : ',VESAInfo.XResolution,'x',VESAInfo.YResolution);
write('optional Informations : ');
if (VESAInfo.ModeAttributes and 2)=0 then write('not '); writeln('available');
write('BIOS Output : ');
if (VESAInfo.ModeAttributes and 4)=0 then write('not '); writeln('supported');
write('Mode : ');
if (VESAInfo.ModeAttributes and 8)<>0 then write('colour, ') else write('monochrom, ');
if (VESAInfo.ModeAttributes and $10)<>0 then writeln('graphic') else writeln('text');
if VGAInfo.VESAhiVersion=2 then begin
write('Mode VGA-compatible : ');
if (VESAInfo.ModeAttributes and $20)<>0 then writeln('no') else writeln('yes');
write('Bankswitching : ');
if (VESAInfo.ModeAttributes and $40)<>0 then write('not '); Writeln('supported');
write('linear FrameBuffer : ');
if (VESAInfo.ModeAttributes and $80)=0 then write('not supported') else
begin Writeln('supported');
Writeln('PhysBaseAddress at : 0x',HexStr(VESAInfo.PhysAddress,8));
Writeln('LinearBase at : 0x',Hexstr(Get_linear_addr(VESAInfo.PhysAddress,VGAInfo.TotalMem shl 16),8));
Writeln('OffscreenOffset : 0x',HexStr(VESAInfo.OffScreenPtr,8));
Writeln('OffscreenMem : ',VESAInfo.OffScreenMem,'KB');
end;
end;
writeln;
writeln('BankSwitchRoutine at: ',HexStr(VESAInfo.RealWinFuncPtr,8));
write('WindowA: read: '); if VESAInfo.WinAAttributes and 3<>0 then write('yes')else write('no ');
write(' write: '); if VESAInfo.WinAAttributes and 7<>0 then write('yes')else write('no ');
writeln(' Segment: ',HexStr(VESAInfo.segWinA,4));
write('WindowB: read: '); if VESAInfo.WinBAttributes and 3<>0 then write('yes')else write('no ');
write(' write: '); if VESAInfo.WinBAttributes and 7<>0 then write('yes')else write('no ');
writeln(' Segment: ',HexStr(VESAInfo.segWinB,4));
writeln('Granularity : ',VESAInfo.WinGranularity);
writeln('WinSize : ',VESAInfo.Winsize,' KByte');
writeln('BytesPerLine : ',BytesPerLine);
writeln('BytesPerPixel: ',BytesPerPixel);
readln;